<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Dying laptop',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/07/28.jpg" alt="Waiting for traffic" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		For breakfast, I had 75 grams of cereal and 100 grams of soy milk.
		For lunch, I had 200 grams of muffuletta, and I had another 300 grams for dinner.
		I also had about 150 grams of those dried cherries.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		The professor responded to my inquiry about the &quot;textures&quot;.
		First, they offered different textures.
		Which is to say, they offered images that this time actually <strong>*are*</strong> textured.
		Then, they said that the images offered by the assignment instructions also work as textures, you just have to use the <var>faceVertexUvs</var> property to change what parts of the image get used.
		My response:
	</p>
	<blockquote>
		<p>
			Thank you for the working textures!
			Just looking at those ones, I can see right away that they&apos;re exactly what we need for the assignment.
			Would you know where those came from so we can provide proper attribution in the comments when we use them?
			I can see they have Blogspot-based $a[URI]s, but I&apos;m having trouble tracking down which blog they came from.
		</p>
		<p>
			Your <var>faceVertexUvs</var> idea is interesting.
			It would have definitely saved me a lot of time I&apos;d spent in the $a[GIMP].
			It&apos;s worth noting though that it suffers from the same problems as my edited images: there are seams, and the other side of the planet/moon can&apos;t be given the right texture because only one side of these bodies is present in the image.
			You end up having to stretch an image of one side of the bodies all around the bodies to cover all sides.
			It works for an assignment, but it would never cut it, professionally.
		</p>
	</blockquote>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Games, as you mentioned, are a great example of real-time animation.
			I hadn&apos;t even thought about games in the context of the terms in this week&apos;s discussion.
			Games wouldn&apos;t be very interesting if they had to follow the same course of actions, regardless of user input.
			They would appear - and in actuality, very much be - unresponsive to the user.
			Like you said though, some games also use frame-at-a-time animation in the form of cutscenes, but these are typically few and far between, if used at all.
		</p>
		<p>
			You also make a great point about how lesser background objects, as well as things such as characters&apos; fur blowing in the wind, was likely done using procedural animation.
			I hadn&apos;t considered the possibility of using that for part of the scene while using keyframe animation for other parts.
		</p>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/img/CC_BY-SA_3.0/minetest.net./weblog/2019/07/28.png" alt="The entrance to my mine" class="framed-centred-image" width="1024" height="600"/>
	<p>
		I&apos;ve been thinking a lot about what to have my mese-themed node be.
		I&apos;ve really been at a loss as to what I could do with it.
		Crystal mese was terrible when it was added to the game.
		I think I&apos;ve decided to have the mese-themed node be a mortar and pestle now though.
		With such a node, I could capture the true spirit of the original crystal mese.
		So what does this node do, you ask?
		Well, it&apos;ll let you irreversibly break items into smaller but useless bits.
		Just like how crystal mese could be broken into fragments that did nothing in the context of Minetest Game, yet there was no way to from them back into usable mese crystals.
		I can even say that these fragmented items are &quot;for use in other mods&quot; just like was used to justify the inclusion of crystal fragments that couldn&apos;t be put back together.
		These mods of course did not exist and were not being planned to be implemented by the Minetest Game team, so again, I don&apos;t even have to plan to use these junk items myself.
		They can just be there, uselessly.
		Just like crystal mese fragments were.
		And the higher your level, the more items you can break at once.
		Or maybe, the more fragmented/powdered items you get back in return.
	</p>
	<p>
		As a side note, my potions mod is no longer an alternative to this mod, as this mod seems to have enough potential to actually become my own main use for <code>minestats</code>, though there will of course be no official main use.
		With the potions mod no longer competing with this one, once this one&apos;s finished, I can work more on the potions mod, and it can depend on this one if need be.
		These stupid, broken items might make good potion ingredients.
		Why would you put a whole lump of coal in a potion?
		Wouldn&apos;t you want to grind it up with a mortar and pestle first?
	</p>
	<p>
		I also took a look at what elements I have to work with next.
		I suspected jungle trees would be the next one.
		I was sort of right.
		Jungle trees were one of four elements introduced all at once.
		In addition to the trees, there was also gold, copper, and diamonds.
		Already, I&apos;m starting to form some ideas about these elements.
	</p>
	<p>
		First, it&apos;s worth noting that when gold was introduced, it couldn&apos;t be used to craft keys.
		Keys didn&apos;t exist yet.
		So why was gold even added?
		The only purpose gold serves is key-crafting.
		I guess you can craft it into gold blocks, and you could back then too, but metal blocks are mainly a way to store large quantities of metal in a compact way.
		You can build out of them, but most people don&apos;t.
		I mean, what would you even build out of gold blocks?
		But anyway, gold was pretty much a blank slate back then.
		It didn&apos;t have the property of being the element that lets you share stuff.
		I can&apos;t use if for that then, and need to come up with my own use for its themed node.
		I might make it a sort of shop node, and the higher your level, the more inventory you can have stocked at once or something.
	</p>
	<p>
		I remembered hating copper when it was first added.
		Seeing it on the list of elements to come up with ideas for, I immediately knew the feel I would go for, but I also double-checked my facts to be sure.
		So here&apos;s the deal.
		Iron has always been not only the most-valuable metal in my eyes, but the most-valuable material in the game.
		Full stop.
		Then along comes copper.
		Copper could not be used for anything unless it binds to iron, and after being bound to iron, the two could only be used to craft blocks or tools.
		You couldn&apos;t even craft blocks out of copper alone like you can today.
		Later, tin came and saved iron by being what copper bound to instead, but when copper was first added, all its functions required wasting of good iron.
		I&apos;m thinking about ways to represent that.
		Iron is the element of ownership, being used in every ownable node save for bones, which can only be owned temporarily, anyway.
		Perhaps the copper node might generate some sort of anti-ownership field, though I&apos;m not sure how to attach that to the levelling mechanic, so maybe not.
		It&apos;s worth thinking about though.
	</p>
	<p>
		I&apos;m not sure what to do with jungle trees yet.
		They were cool.
		What they did though was bring back a feature that&apos;d been removed, a feature from the 0.3.* era.
		But this time, a separate leaf node and sapling node were defined, so you could grow your own jungle wood logs, but also, a separate plank node was introduced, so there was more reason to have this separate tree type.
		As far as Minetest Game was concerned though, jungle trees were an entirely new feature, as they had come from a version of Minetest that predated Minetest Game, back when nodes were defined in Minetest proper, subgames weren&apos;t a thing, and everyone played with the exact same set of items available.
		And diamonds?
		Diamonds are boring.
		They&apos;re like gold in that regard.
		But they&apos;re also an empty canvas for me to paint on, so while I don&apos;t have a behaviour for them to mimic, I&apos;ll be getting to define my own.
	</p>
</section>
<section id="laptop">
	<h2>My laptop is dying</h2>
	<p>
		I think my monitor is dying.
		I keep seeing it flash brighter and dimmer rapidly.
		The keyboard and mouse have been dying as well for months.
		At this point, the &quot;function&quot;t key has ironically entirely stopped functioning.
		That means I can&apos;t take screenshots and I can&apos;t adjust the brightness level of the monitor any more.
		The screenshot functionality is vital, and I searched the application menu for another way to open the screenshot application.
		Thankfully, there&apos;s an entry in there, so I can get screenshots that I need for school still, it&apos;s just a little more cumbersome to do so.
		However, I couldn&apos;t locate an option in the menu for adjusting screen brightness.
		So I&apos;m just out of luck, on that.
	</p>
	<p>
		When I have time, I need to look into $a[MAC] address spoofing.
		If I can spoof the $a[MAC] address on my spare machine, it can take over for the dying one.
		However, the new machine&apos;s $a[MAC] address isn&apos;t on the whitelist of the local Wi-Fi router, so without said spoofing, the new machine can&apos;t take over for the current one.
	</p>
</section>
END
);
